Revert "gdk/wayland: Avoid idempotent wl_subsurface.set_position calls"
authorMichael Catanzaro <mcatanzaro@igalia.com>
Fri, 20 Oct 2017 00:52:11 +0000 (19:52 -0500)
committerMichael Catanzaro <mcatanzaro@igalia.com>
Fri, 20 Oct 2017 00:52:11 +0000 (19:52 -0500)
This reverts commit 1607f8c4c64b95329f0c02fde7070c35b2bfb2ad.

https://bugzilla.gnome.org/show_bug.cgi?id=784314

gdk/wayland/gdkwindow-wayland.c

index cbc7bfb65450a8df3722ba3beb8cf9756e45ea99..1697dcda520841972c3192508d53cc2a98f7f021 100644 (file)
@@ -2637,8 +2637,7 @@ gdk_window_wayland_move_resize (GdkWindow *window,
   if (with_move)
     {
       /* Each toplevel has in its own "root" coordinate system */
-      if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TOPLEVEL &&
-          (window->x != x || window->y != y))
+      if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TOPLEVEL)
         {
           window->x = x;
           window->y = y;